module.exports = {
  publicPath: './',
  lintOnSave:false,
  css: {
    loaderOptions: {
      scss: {
        prependData: `
          @import "~@/styles/mixin.scss";
          @import "~@/styles/var.scss";
        `
      }
    }
  },
  devServer: {
    proxy: {
      '/liys': {
        target: "https://ddapi.liyinsheng.cn/",
        changeOrigin: true,
        pathRewrite: {
          '^/liys': '/'
        },
        // cookieDomainRewrite: {}
      },
      '/wuyiming': {
        // wuyiming
        target: "https://wym.178590.com/",
        changeOrigin: true,
        pathRewrite: {
          '^/wuyiming': '/'
        }
        // cookieDomainRewrite: {}
      },
      '/liyinsheng': {
        target: "https://test.liyinsheng.cn/",
        changeOrigin: true,
        pathRewrite: {
          '^/liyinsheng': '/'
        },
        // cookieDomainRewrite: {}
      },
      
    }
  }
}
